package com.groupbuying.payproducer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author Vincentxin
 * @Date 2019-06-12
 */
@Service
@FeignClient("bus-store")
public interface StoreFeign {
    @GetMapping("/counter/getStoreShopByCounterId")
    Map<String,String> getStoreShopByCounterId(@RequestParam Map<String, Object> params);

    //通过收银台ID获取商户名称商户支付渠道
    @GetMapping("/storepay/getStorePayInfo")
    Map getStorePayInfo(@RequestParam("counterId") String counterId);
}
